import { getAxios,postAxios} from '@/utils/http'

export const epidemicApi = {

  getEpidemicList: (data) => {
    return postAxios('/epidemic/list', data);
  },

  addEpidemic: (data) => {
    return postAxios('/epidemic/add', data);
  },

  updateEpidemic: (data) => {
    return postAxios('/epidemic/update', data);
  },

  deleteEpidemic: (id) => {
    return getAxios('/epidemic/delete?id='+id);
  },
  
};
